package com.xc.quartz.plugIn;

import org.quartz.Scheduler;
import org.quartz.SchedulerException;
import org.quartz.SchedulerFactory;
import org.quartz.impl.StdSchedulerFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class PlugInExample {
	public void run() {
		Logger log = LoggerFactory.getLogger(PlugInExample.class);
		SchedulerFactory sf = new StdSchedulerFactory();
		try {
			Scheduler scheduler = sf.getScheduler();
			scheduler.start();
		} catch (SchedulerException e) {
			e.printStackTrace();
		}

	}

	public static void main(String[] args) throws Exception {

		PlugInExample example = new PlugInExample();
		example.run(); 
	}

}
